<template>
  <view class="myAnn">
    <view class="message-list">
        <view class="h1">
            <image src="../../static/icon_yidu.svg" mode=""></image>
            <text>全部已读</text>
        </view>
        <view class="ann-list">
        	<u-cell-group :border="false">
        		<u-cell>
              <u-badge slot="icon" :isDot="true" type="error"></u-badge>
              <view slot="title" class="list-title">在营车辆年检通知，为保障车辆能够…</view>
              <view slot="value"  class="list-value">05-06 06:16</view>
            </u-cell>
        	</u-cell-group>
         <u-cell-group :border="false">
         	<u-cell>
             <view slot="title" class="list-title">在营车辆年检通知，为保障车辆能够…</view>
             <view slot="value"  class="list-value">05-06 06:16</view>
           </u-cell>
         </u-cell-group>	<u-cell-group :border="false">
        		<u-cell>
              <view slot="title" class="list-title">在营车辆年检通知，为保障车辆能够…</view>
              <view slot="value"  class="list-value">05-06 06:16</view>
            </u-cell>
        	</u-cell-group>	<u-cell-group :border="false">
        		<u-cell>
              <view slot="title" class="list-title">在营车辆年检通知，为保障车辆能够…</view>
              <view slot="value"  class="list-value">05-06 06:16</view>
            </u-cell>
        	</u-cell-group>
          </view>
    </view>
  </view>
</template>

<script>
  export default {
    name: 'Announcement',
    components: {},
    data() {
      return {
        
      };
    },
   async created(){
      const res = await uni.$u.http.get('/messages/page',{params:{ contentType:'200',...this.pageConig}})
       console.log(res)
    },
    mounted(){},
    onLoad(){
    },
    methods: {
      
    }
  }
</script>

<style lang="scss">
  .myAnn{
    .message-list{
        .h1{
          padding: 24px 17px;
          image{
            width: 16px;
            height: 16px;
            vertical-align: middle;
            
          }
          text{
            margin-left: 9px;
            font-size: 14px;
            color: #818181;
          }
        }
        .ann-list{
          background-color: #fff;
          .list-title{
            font-size: 14px;
            color: #2A2929;
          }
          .list-value{
            font-size: 12px;
            color: #818181;
          }
        }
    }
  }
</style>